Namespace Map

Types

Link copied to clipboard
Link copied to clipboard
struct types

Properties

Link copied to clipboard
val MAP: text = "/map"
Link copied to clipboard
val MAP_I: text = "/instance"
Link copied to clipboard
val MAP_K: text = "/key"
Link copied to clipboard
val MAP_V: text = "/value"

Functions

Link copied to clipboard
function _find_instance_by_key_in_map(instance: instance, key_val: gtv, map_attrs: (K: attribute, V: attribute, I: attribute)): instance_attribute?
Link copied to clipboard
function _find_instance_by_value_in_map(_instance: instance, value: gtv, map_attrs: (K: attribute, V: attribute, I: attribute)): instance_attribute?
Link copied to clipboard
function _get_map_types(attr: attribute): (K: attribute, V: attribute, I: attribute)
Link copied to clipboard
function _get_map_value_by_instance(instance: instance, attribute: attribute): gtv?
Link copied to clipboard
function _get_map_values(instance: instance, attribute: attribute, I: attribute): gtv?
Link copied to clipboard
function add_element(instance: instance, attribute_name: I, element: gtv)
Link copied to clipboard
function add_elements(instance: instance, attribute_name: I, elements: gtv)
Link copied to clipboard
function contains_key(instance: instance, attribute_name: I, idx: gtv): boolean
Link copied to clipboard
function create_elements(instance: instance, attribute_name: I, elements: gtv)
Link copied to clipboard
function create_type(attribute: attribute, key_type: type, value_type: type)
Link copied to clipboard
function fetch_range_from(attribute: attribute, value: gtv, from: rowid): list<instance>
Link copied to clipboard
function get(instance: instance, attribute_name: I, idx: gtv): gtv
Link copied to clipboard
function get_value_as_text(instance: instance, attribute_name: I): text
Link copied to clipboard
function is_empty(instance: instance, attribute_name: I): boolean
Link copied to clipboard
function keys(instance: instance, attribute_name: I): (type: type, keys: gtv)
Link copied to clipboard
function remove_element(instance: instance, attribute_name: I, element: gtv)
Link copied to clipboard
function remove_elements(instance: instance, attribute_name: I): gtv
Link copied to clipboard
function set_elements(instance: instance, attribute_name: I, elements: gtv)
Link copied to clipboard
function sizeof(instance: instance, attribute_name: I): integer
Link copied to clipboard
function sizeof_by_attribute(instance: instance, attribute: attribute): integer
Link copied to clipboard
function T(inner_types: types, value: map<gtv, gtv>?): attribute_type
Link copied to clipboard
function unpack(instance: instance, attribute_name: I): ((K: type, V: type), values: map<gtv, gtv>)?
Link copied to clipboard
function unpack_by_attribute(instance: instance, attribute: attribute): ((K: type, V: type), values: map<gtv, gtv>)?
Link copied to clipboard
function update_elements(instance: instance, attribute_name: I, elements: gtv)
Link copied to clipboard
function values(instance: instance, attribute_name: I): (type: type, values: gtv)